package se.sics.drsm.ports.statemachine.events;

import se.sics.drsm.model.StateMachineConfiguration;
import se.sics.kompics.Event;

/**
 * Created with IntelliJ IDEA.
 * User: Shadid Chowdhury
 */
public class ReConfigurationResponse extends Event {


    private boolean successful;
    private final StateMachineConfiguration configuration;

    public ReConfigurationResponse(boolean successful, StateMachineConfiguration configuration) {
        this.successful = successful;
        this.configuration = configuration;
    }

    public StateMachineConfiguration getConfiguration() {
        return configuration;
    }

    public boolean isSuccessful() {
        return successful;
    }
}
